package com.ocom.payhandle.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ocom.common.entity.payconfig.EntityXfSignOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IDaoXfSignOrder extends BaseMapper<EntityXfSignOrder> {

    @Select({"<script>",
            "SELECT  AES_DECRYPT(UNHEX(#{phone}),  #{key})   " +
                    "</script>"})
    String decode(String phone,String key);

}
